﻿using System.Web.Mvc;

namespace DevFramework.MvcUI.Controllers
{
    public class CommonController : Controller
    {
        public ActionResult NoAuthorize()
        {
            return View();
        }

        public ActionResult Logout()
        {
            Session.Abandon();

            return RedirectToRoute("Default", new {controller = "Product", action = "Index"});
        }

        public ActionResult Error()
        {
            return View();
        }
	}
}